home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / esc.jar / com / extensibility / util / StringEnumeration.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-06-30  |  642 b   |  26 lines

  1. package com.extensibility.util;
  2.  
  3. import java.util.Enumeration;
  4.  
  5. public class StringEnumeration implements Enumeration {
  6.    // $FF: renamed from: i int
  7.    int field_0 = 0;
  8.    String[] dts;
  9.  
  10.    public StringEnumeration(String[] var1) {
  11.       this.dts = var1;
  12.    }
  13.  
  14.    public boolean hasMoreElements() {
  15.       return this.field_0 < this.dts.length;
  16.    }
  17.  
  18.    public Object nextElement() {
  19.       return this.dts[this.field_0++];
  20.    }
  21.  
  22.    public String nextString() {
  23.       return this.dts[this.field_0++];
  24.    }
  25. }
  26.